<%-- 
    Document   : seoCheckerResult
    Created on : Nov 16, 2013, 11:10:06 PM
    Author     : Thai Ha Cong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="Onpage SEO Checker Result - Administration Tool">
        <title>Onpage SEO Checker Result - Administration Tool</title>
        <link href="<%= request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
        <link href="<%= request.getContextPath()%>/css/adMenu.css" rel="stylesheet" type="text/css"/>
        <s:head />
    </head>
    <body>
        <div class="headerbg">
            <%@include file="/include/mHeader.jsp" %>
        </div>
        <div class="contentbg">
            <div class="content">
                <div class="adMenu">
                    <%@include file="/include/mMenu.jsp" %>
                </div>
                <div class="kpbg">
                    <div class="seoChecker">
                        <h1>Onpage SEO Checker Tool Results</h1>

                        <p>
                            URL: <b><s:property value="inputURL"/></b>
                            <br>Keyword: <b><s:property value="keyword"/></b>
                        </p>
                        
                        <s:actionerror/>
                        <s:actionmessage/>
                        
                        <table class="seoResultTable">
                            <tr class="seoHead">
                                <th style="width: 400px;">Criteria</th>
                                <th style="width: 120px;">Results</th>
                                <th style="width: 400px;">Comments</th>
                            </tr>
                            <tr class="seoOdd">
                                <td>URL contains Keyword</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rurl"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentUrl"/></td>
                            </tr>
                            <tr class="seoEven">
                                <td>Title contains Keyword</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rtitle"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentTitle"/></td>
                            </tr>
                            <tr class="seoOdd">
                                <td>Description Meta tag contains Keyword</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rmetaDescription"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentMetaDescription"/></td>
                            </tr>
                            <tr class="seoEven">
                                <td>Keyword Meta tag contains Keyword</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rmetaKeyword"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentMetaKeyword"/></td>
                            </tr>
                            <tr class="seoOdd">
                                <td>Heading 1 contains Keyword</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rh1"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentH1"/></td>
                            </tr>
                            <tr class="seoEven">
                                <td>Heading 2 contains Keyword</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rh2"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentH2"/></td>
                            </tr>
                            <tr class="seoOdd">
                                <td>Heading 3 contains Keyword</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rh3"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentH3"/></td>
                            </tr>
                            <tr class="seoEven">
                                <td>Total Keyword Count</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rkeyCount"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentKeyCount"/></td>
                            </tr>
                            <tr class="seoOdd">
                                <td>Good Navigation (have a breadcrumb or navigation div)</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rnavigation"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentNavigation"/></td>
                            </tr>
                            <tr class="seoEven">
                                <td>Image tag has alt attribute</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rimageAlt"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentImageAlt"/></td>
                            </tr>
                            <tr class="seoOdd">
                                <td>Image tag has title attribute</td>
                                <td style="text-align: right; padding-right:16px;"><s:property value="rimageTitle"/></td>
                                <td style="text-align: left; padding-left:16px;"><s:property value="commentImageTitle" escape="false"/></td>
                            </tr>
                        </table>
                            
                        <br>
                        <br>
                        <s:url namespace="/Administration/Tools" action="onpageSEOChecker" var="seoCheckerUrl"></s:url>
                        <s:a href="%{seoCheckerUrl}" title="Check for Onpage SEO Cretieria">Check for another URL</s:a>
                    </div>
                </div>
            </div>
        </div>
        <div class="footerbg">
            <%@include file="/include/iFooter.jsp" %>
        </div>
    </body>
</html>